package com.dxy.yesas2020goals.study.partone.disignpattern.adapterpattern.electonic.clazzmode;

/**
 * @author victorydeng
 * @Classname PowerAdapter
 * @Description TODO
 * @Date 2020/3/20 20:14
 * @Created by victorydeng
 */
public class PowerAdapter extends AC220V implements DC5V {

  @Override
  public int out5V() {
    int origin = super.out220V();
    int target = origin % 44;
    return target;
  }
}
